package com.lanou.mapper;

import com.lanou.bean.Staff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StaffMapper {
    int deleteByPrimaryKey(String staffid);
    Staff selectByPrimaryKey(String staffid);
    Staff selectlogin(@Param("loginName")String loginName,@Param("password") String password);
    void uplogin(@Param("newPassword") String newPassword,@Param("loginName")String loginName);
}